﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Communergy.Common;


namespace Communergy.Repository
{
    //TODO - implement via ChannelFactory?
    public class WCFRepositoryFactory: IRepositoryFactory
    {
        #region IRepositoryFactory Members

        public IHistoricRepository CreateHistoricRepository(IUnitOfWork unitOfWork)
        {
            return new CommunergyUpload();
        }

        public IMeterRepository CreateMeterRepository(IUnitOfWork unitOfWork)
        {
            return new CommunergyUpload();
        }

        public IRealtimeRepository CreateRealtimeRepository(IUnitOfWork unitOfWork)
        {
            return new CommunergyUpload();
        }

        public IUnitOfWork CreateUnitOfWork()
        {
            return null;
        }

        #endregion




    }
}
